package com.renjiyue.crud;

public class Client1 {
    public static void main(String[] args) {
        //真实业务
        UserServiceImpI userServiceImpI = new UserServiceImpI();
        //代理类
        UserServiceProxy userServiceProxy = new UserServiceProxy();
        //使用代理类实现日志功能
        userServiceProxy.setUserServiceImpI(userServiceImpI);
        userServiceProxy.add();
    }
}
